const {mongoose} = require('./database.js');
const canting = new mongoose.Schema({

    id: Number,           // 自定义ID
    name: String,         // 套餐名称
    price: Number,        // 价格
    stock: Number,        // 库存数量
    category: String,     // 分类
    brand: String,        // 品牌
    description: String,  // 描述
    image: String,        // 图片路径
    pending: Boolean      // 是否待处理状态

})
let Canting = mongoose.model('Canting', canting, 'canting');
module.exports = Canting;